package com.sec.etech.process.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sec.etech.common.ModelBase;
import lombok.Data;

@Data
@TableName("proc_parts_tech_amend")
public class PartsTechAmend  extends ModelBase {
    @TableId("parts_amend_id")
    private Long partsAmendId;

    private Long partsid;
    /**
     * 关联类型 1：路线卡 2：工序卡
     */
    @TableField("target_type")
    private Integer targetType;
    //路线卡ID或工序卡ID
    @TableField("target_id")
    private Long targetId;
    //路线卡ID或工序卡ID
    @TableField("new_target_id")
    private Long newTargetId;
    /**
     *工艺类型：路线卡或者工序卡工艺方向
     */
    @TableField("target_type_id")
    private Long targetTypeId;
    /**
     * 修改类型 0-删除 1-新增 2-修改  (修改单)
     */
    @TableField("change_mode")
    private Integer changeMode;

    private Long amendid;
}
